//Naming
Name IS-2 but slightly more festive
ShortName IS2Festive
//Visuals
Icon StalinChristmas
Model ww2.Festive
Texture IS-2
ModelScale 1.2
//Third Person Camera Distance
CameraDistance 11.5
//Throttle
MaxThrottle 1.0
MaxNegativeThrottle 0.5
//Steering modifiers
TurnLeftSpeed 0.5
TurnRightSpeed 0.5
//Drag
Drag 10.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.5
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
WheelPosition 0 -51 -8 -33
WheelPosition 1 -51 -8 33
WheelPosition 2 56 -8 33
WheelPosition 3 56 -8 -33
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank true
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2000
//Inventory Slots
CargoSlots 0
ShellSlots 5
//Driver and passenger positions
Driver 0 38 0 -360 360 -10 20
RotatedDriverOffset -8 0 -9
//Turret rotation stuff
DriverAimSpeed 0.5 0.5 0
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretTraverse1
YawSoundLength 21
PitchSound TurretTraverse2
PitchSoundLength 20
Passengers 2
Passenger 1 0 28 0 core
Passenger 2 37 3 0 core
RotatedPassengerOffset 1 -11 0 -10
BarrelPosition 33.8 33.8 1.3 80.6 0 0
ShootParticlesPrimary flansmod.flash 0 0 0
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary cloud 1 0 0
ShootParticlesPrimary cloud 1.75 0 0
ShootParticlesPrimary cloud 1.5 0 0
ShootParticlesPrimary cloud 1.25 0 0
ShootParticlesPrimary cloud 0.75 0 0
ShootParticlesPrimary cloud 0.5 0 0
ShootParticlesPrimary cloud 0.25 0 0
ShootParticlesPrimary explode 1.5 0 0
ShootParticlesPrimary largesmoke 0.5 0 0.1
ShootParticlesPrimary largesmoke 0.5 0 -0.1
ShootParticlesPrimary largesmoke 0.5 0.06 0.06
ShootParticlesPrimary largesmoke 0.5 0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.1 0
ShootParticlesPrimary largesmoke 0.5 0.1 0
ShootParticlesPrimary cloud 0.05 0 0.2
ShootParticlesPrimary cloud 0.05 0 -0.2
ShootParticlesPrimary cloud 0.05 0.13 0.13
ShootParticlesPrimary cloud 0.05 0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.13 0.13
ShootParticlesPrimary cloud 0.05 -0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.2 0
ShootParticlesPrimary cloud 0.05 0.2 0
ShootParticlesPrimary cloud 0.1 0 0.4
ShootParticlesPrimary cloud 0.1 0 -0.4
ShootParticlesPrimary cloud 0.1 0.26 0.26
ShootParticlesPrimary cloud 0.1 0.26 -0.26
ShootParticlesPrimary cloud 0.1 -0.26 0.26
ShootParticlesPrimary cloud 0.1 -0.26 -0.26
ShootParticlesPrimary cloud 0.1 -0.4 0
ShootParticlesPrimary cloud 0.1 0.4 0
ShootParticlesPrimary cloud 0 0 0.2
ShootParticlesPrimary cloud 0 0 0.4
ShootParticlesPrimary cloud 0 0 0.8
ShootParticlesPrimary cloud 0 0 -0.2
ShootParticlesPrimary cloud 0 0 -0.4
ShootParticlesPrimary cloud 0 0 -0.8
ShootParticlesSecondary crit 0.2 0 0
//Secondary gun
AddGun -40 30 3 turret dp28
//Delays are in ticks or 1/20ths of seconds
ShootDelay 2
ShellDelay 200


AllowAllAmmo False
AddAmmo Bigshell
//Sounds
StartSound CenturionIdle
StartSoundLength 60
EngineSound CenturionRun
EngineSoundLength 60
IdleSound Idle
IdleSoundLength 60
ShootSoundPrimary IS2Shoot
ShootSoundSecondary DP28Shoot
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts turret 1 tankTurret 1 vehicleSeat 4 iron
AddRecipeParts core 1 tankBody 5 iron
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 10 gray
//Health and collision
SetupPart core 12000 -86 4 -31 140 22 62
SetupPart rightTrack 8000 -86 -10 -36 140 25 15
SetupPart leftTrack 8000 -86 -10 22 140 25 15
SetupPart turret 14000 -32 26 -26 73 16 52
BulletDetection 7
TrackFrames 3
RotateWheels true
Harvester true
HarvestToolType Tank
HarvestBox [149,64,72] [-86,-10,-36]
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 5
RecoilDistance 5
RecoilTime 5
RightLinkPoint [37,11,-21]
RightLinkPoint [40,7.5,-21]
RightLinkPoint [40,1.5,-21]
RightLinkPoint [37,-1.5,-21]
RightLinkPoint [24.5,-6,-21]
RightLinkPoint [-52,-6,-21]
RightLinkPoint [-64,-1.5,-21]
RightLinkPoint [-67,1.5,-21]
RightLinkPoint [-67,7.5,-21]
RightLinkPoint [-64,10.5,-21]
LeftLinkPoint [37,11,21]
LeftLinkPoint [40,7.5,21]
LeftLinkPoint [40,1.5,21]
LeftLinkPoint [37,-1.5,21]
LeftLinkPoint [24.5,-6,21]
LeftLinkPoint [-52,-6,21]
LeftLinkPoint [-64,-1.5,21]
LeftLinkPoint [-67,1.5,21]
LeftLinkPoint [-67,7.5,21]
LeftLinkPoint [-64,10.5,21]
TrackLinkLength 5
FlipLinkFix false
BulletSpeed 5.00
BulletSpread 0.75
ModelScale 1.3
Description Soviet Heavy Tank
